#include "STRING.H"
#include "Com_Util.h"
#include "Dri_UART.h"
#include "Dri_Timer_0.h"

void main()
{
    u8 res_data[20];
    u8 *a = res_data;
    // 初始化
    Dri_UART_Init();
   // Dri_Timer0_Init();

    while (1) {
        bit isOk = Dri_UART_Reception_String(a);
        if (isOk) {
            if (strcmp(a,"aa") == 0)
            {
                P0 = 0X00;
               Dri_UART_Transmit_String("are you ok!!!");
            }
        }
    }
}
